package com.easylinkin.linkappapi.investigation.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.investigation.entity.InvestigationType;

import java.util.List;

public interface InvestigationTypeService extends IService<InvestigationType> {

    /**
     * 分页查询排查类型
     */
    IPage<InvestigationType> getInvestigationTypePage(Page page, InvestigationType investigationType);

    /**
     * 查询下拉
     * */
    List<InvestigationType> getInvestigationTypeAll();

    /**
     * 新增排查类型
     */
    boolean addInvestigationType(InvestigationType investigationType);

    /**
     * 修改排查类型
     */
    boolean updateInvestigationType(InvestigationType investigationType);

    /**
     * 批量删除排查类型
     */
    boolean delInvestigationTypeList(List<InvestigationType> investigationTypeList);
}
